package com.permisson;

/**
 * Time    : 2023/3/19 17:16
 * Author  : 王摇摆
 * FileName: Source.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

public class Source {
    public int publicint;
    protected int protectedint;
    int defaultint;
    private int privateint;

    public void methodpublic(){
        publicint=1;
        protectedint=2;
        defaultint=3;
        privateint=4;
    }
    protected void methodprotected(){
        publicint=1;
        protectedint=2;
        defaultint=3;
        privateint=4;
    }
     void methoddefault(){
        publicint=1;
        protectedint=2;
        defaultint=3;
         privateint=4;
    }
    private void methodprivate(){
        publicint=1;
        protectedint=2;
        defaultint=3;
        privateint=4;
    }
}
